@keyframes title_anim {
    0% {
        color: aqua;
    }

    25% {
        color: yellow
    }

    50% {
        color: chartreuse;
    }

    75% {
        color: yellow;
    }

    100% {
        color: aqua;
    }
}


.ac-game-menu {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/1.jpg");
    background-size: 100% 100%;
    user-select: none;
}

.ac-game-menu-title {
    font-size: 300%;
    text-align: center;
    animation-name: title_anim;
    animation-duration: 1.5s;
    animation-iteration-count: infinite;
    animation-duration: alternate;
}

.ac-game-menu-field {
    display: flex;
    /* 使用 Flexbox 布局 */
    flex-direction: column;
    /* 设置为列方向布局，使子元素垂直排列 */
    justify-content: center;
    /* 水平居中 */
    align-items: center;
    /* 垂直居中（在列布局中） */
    height: 100%;
    /* 如果父容器有定义高度，这里确保子容器占满高度 */
    /* 或者你可以设置一个具体的高度，比如 height: 300px; */
    text-align: center;
    /* 确保文本内容在其容器内居中（虽然对于 flex 布局通常不是必需的） */
}

.ac-game-menu-field-item {
    color: white;
    height: 6vh;
    width: 18vw;
    font-size: 4vh;
    font-style: italic;
    text-align: center;
    background-color: rgba(39, 21, 28, 0.6);
    border-radius: 10px;
    letter-spacing: 0.5vw;
    cursor: pointer;
}

.ac-game-menu-field-item:hover {
    transform: scale(1.2);
    transition: 100ms;
}


.playground {
    width: 100%;
    height: 100%;
    user-select: none;
}

.game-settings {
    width: 100%;
    height: 100%;
    background-image: url("/static/image/menu/1.jpg");
    background-size: 100% 100%;
    user-select: none;
}

.game-settings-login {
    height: 41vh;
    width: 30vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}

.game-settings-register {
    height: 49vh;
    width: 30vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 5px;
}


.game-settings-title {
    color: white;
    font-size: 3vh;
    text-align: center;
    height: 7vh;
    padding-top: 2vh;
    margin-bottom: 2vh;
}


.game-settings-username {
    display: block;
    height: 1vh;
}

.game-settings-item {
    width: 100%;
    height: 100%;
}

.game-settings-item>input {
    width: 90%;
    line-height: 3vh;
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}